package org.example.demo15_command.demo1;


import org.example.demo15_command.demo1.AbstractCommand;

public class LightCloseCommand implements AbstractCommand {
    private Light light;
    public LightCloseCommand(){
        this.light = new Light();
    }
    @Override
    public void execute(){
        light.close();
    }
}
